package com.qys.livesMall.system.model.dto.sys;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class PlatformAdvertisementDetailDto {

    @NotBlank(message = "轮播图路径不能为空")
    @Schema(description = "轮播图路径")
    private String imgUrl;

    @Schema(description = "跳转路径")
    private String url;

    @NotNull(message = "不能为空")
    @Schema(description = "排序")
    private Integer sortNum;
}
